﻿{
	"DataResultType": 13,
	"Record": { },
	"List": {
		"Records": [
			{
				"department": {
					"id": "Dept1-ID",
					"code": "Dept1-Code",
					"name": "Dept1-Name",
					"company": {
						"id": "Comp1-ID",
						"code": "Comp1-Code",
						"name": "Comp1-Name"
					},
					"createtime": "2021-08-18T21:29:38.6596053"
				}
			},
			{
				"department": {
					"id": "Dept2-ID",
					"code": "Dept2-Code",
					"name": "Dept2-Name",
					"company": {
						"id": "Comp2-ID",
						"code": "Comp2-Code",
						"name": "Comp2-Name"
					},
					"createtime": "2021-08-17T21:29:38.6596053"
				}
			}
		],
		"CurrentRowNumber": 0,
		"Length": 2,
		"Current": {
			"department": {
				"id": "Dept1-ID",
					"code": "Dept1-Code",
						"name": "Dept1-Name",
							"company": {
					"id": "Comp1-ID",
						"code": "Comp1-Code",
							"name": "Comp1-Name"
				},
				"createtime": "2021-08-18T21:29:38.6596053"
			}
		}
	},
	"Count": 0,
	"ActionCode": null,
	"ActionName": null,
	"Schema": {
	"Current": [
		{
			"VMType": 2,
			"SortOrder": 0,
			"vmItemCode": "Department",
			"vmItemName": "Department",
			"ViewModelItemSchema": {
				"ViewModelItemCode": "Department",
				"Relation": null,
				"Properties": [
					{
						"ViewModelItemCode": null,
						"ID": "DepartmentID",
						"Code": "ID",
						"Name": "主键标识",
						"Description": "主键标识",
						"DataType": 11,
						"IsPrimaryKey": true,
						"SortOrder": 0,
						"IsDetail": false,
						"IsVirtual": false,
						"RelatePropertyCode": null,
						"SubSchema": null
					},
					{
						"ViewModelItemCode": null,
						"ID": "DepartmentCode",
						"Code": "Code",
						"Name": "编号",
						"Description": "编号",
						"DataType": 11,
						"IsPrimaryKey": false,
						"SortOrder": 1,
						"IsDetail": false,
						"IsVirtual": false,
						"RelatePropertyCode": null,
						"SubSchema": null
					},
					{
						"ViewModelItemCode": null,
						"ID": "DepartmentName",
						"Code": "Name",
						"Name": "名称",
						"Description": "名称",
						"DataType": 11,
						"IsPrimaryKey": false,
						"SortOrder": 2,
						"IsDetail": false,
						"IsVirtual": false,
						"RelatePropertyCode": null,
						"SubSchema": null
					},
					{
						"ViewModelItemCode": null,
						"ID": "DepartmentName",
						"Code": "CompanyID",
						"Name": "所属公司ID",
						"Description": "所属公司ID",
						"DataType": 11,
						"IsPrimaryKey": false,
						"SortOrder": 3,
						"IsDetail": false,
						"IsVirtual": true,
						"RelatePropertyCode": null,
						"SubSchema": null
					},
					{
						"ViewModelItemCode": null,
						"ID": "Department-Company",
						"Code": "Company",
						"Name": "公司",
						"Description": "公司",
						"DataType": 12,
						"IsPrimaryKey": false,
						"SortOrder": 4,
						"IsDetail": false,
						"IsVirtual": false,
						"RelatePropertyCode": "CompanyID",
						"SubSchema": {
							"ViewModelItemCode": "Company",
							"Relation": {
								"ID": "761fe677-ab01-4661-9551-2f9458aa2911",
								"FromViewModelItemSchemaCode": "Department",
								"FromPropertyCode": "CompanyID",
								"ToViewModelItemSchemaCode": "Company",
								"ToPropertyCode": "ID"
							},
							"Properties": [
								{
									"ViewModelItemCode": null,
									"ID": "CompanyID",
									"Code": "ID",
									"Name": "主键标识",
									"Description": "主键标识",
									"DataType": 11,
									"IsPrimaryKey": true,
									"SortOrder": 0,
									"IsDetail": false,
									"IsVirtual": false,
									"RelatePropertyCode": null,
									"SubSchema": null
								},
								{
									"ViewModelItemCode": null,
									"ID": "CompanyCode",
									"Code": "Code",
									"Name": "编号",
									"Description": "编号",
									"DataType": 11,
									"IsPrimaryKey": false,
									"SortOrder": 1,
									"IsDetail": false,
									"IsVirtual": false,
									"RelatePropertyCode": null,
									"SubSchema": null
								},
								{
									"ViewModelItemCode": null,
									"ID": "CompanyName",
									"Code": "Name",
									"Name": "名称",
									"Description": "名称",
									"DataType": 11,
									"IsPrimaryKey": false,
									"SortOrder": 2,
									"IsDetail": false,
									"IsVirtual": false,
									"RelatePropertyCode": null,
									"SubSchema": null
								}
							]
						}
					},
					{
						"ViewModelItemCode": null,
						"ID": "DepartmentCreateTime",
						"Code": "CreateTime",
						"Name": "创建时间",
						"Description": "创建时间",
						"DataType": 3,
						"IsPrimaryKey": false,
						"SortOrder": 4,
						"IsDetail": false,
						"IsVirtual": false,
						"RelatePropertyCode": null,
						"SubSchema": null
					}
				]
			}
		}
	],
	"CurrentRowNumber": 0,
	"MainViewModelItemCode": "Department",
	"MainViewModelItem": {
	"VMType": 2,
	"SortOrder": 0,
	"vmItemCode": "Department",
	"vmItemName": "Department",
	"ViewModelItemSchema": {
	"ViewModelItemCode": "Department",
	"Relation": null,
	"Properties": [
		{
			"ViewModelItemCode": null,
			"ID": "DepartmentID",
			"Code": "ID",
			"Name": "主键标识",
			"Description": "主键标识",
			"DataType": 11,
			"IsPrimaryKey": true,
			"SortOrder": 0,
			"IsDetail": false,
			"IsVirtual": false,
			"RelatePropertyCode": null,
			"SubSchema": null
		},
		{
			"ViewModelItemCode": null,
			"ID": "DepartmentCode",
			"Code": "Code",
			"Name": "编号",
			"Description": "编号",
			"DataType": 11,
			"IsPrimaryKey": false,
			"SortOrder": 1,
			"IsDetail": false,
			"IsVirtual": false,
			"RelatePropertyCode": null,
			"SubSchema": null
		},
		{
			"ViewModelItemCode": null,
			"ID": "DepartmentName",
			"Code": "Name",
			"Name": "名称",
			"Description": "名称",
			"DataType": 11,
			"IsPrimaryKey": false,
			"SortOrder": 2,
			"IsDetail": false,
			"IsVirtual": false,
			"RelatePropertyCode": null,
			"SubSchema": null
		},
		{
			"ViewModelItemCode": null,
			"ID": "DepartmentName",
			"Code": "CompanyID",
			"Name": "所属公司ID",
			"Description": "所属公司ID",
			"DataType": 11,
			"IsPrimaryKey": false,
			"SortOrder": 3,
			"IsDetail": false,
			"IsVirtual": true,
			"RelatePropertyCode": null,
			"SubSchema": null
		},
		{
			"ViewModelItemCode": null,
			"ID": "Department-Company",
			"Code": "Company",
			"Name": "公司",
			"Description": "公司",
			"DataType": 12,
			"IsPrimaryKey": false,
			"SortOrder": 4,
			"IsDetail": false,
			"IsVirtual": false,
			"RelatePropertyCode": "CompanyID",
			"SubSchema": {
				"ViewModelItemCode": "Company",
				"Relation": {
					"ID": "761fe677-ab01-4661-9551-2f9458aa2911",
					"FromViewModelItemSchemaCode": "Department",
					"FromPropertyCode": "CompanyID",
					"ToViewModelItemSchemaCode": "Company",
					"ToPropertyCode": "ID"
				},
				"Properties": [
					{
						"ViewModelItemCode": null,
						"ID": "CompanyID",
						"Code": "ID",
						"Name": "主键标识",
						"Description": "主键标识",
						"DataType": 11,
						"IsPrimaryKey": true,
						"SortOrder": 0,
						"IsDetail": false,
						"IsVirtual": false,
						"RelatePropertyCode": null,
						"SubSchema": null
					},
					{
						"ViewModelItemCode": null,
						"ID": "CompanyCode",
						"Code": "Code",
						"Name": "编号",
						"Description": "编号",
						"DataType": 11,
						"IsPrimaryKey": false,
						"SortOrder": 1,
						"IsDetail": false,
						"IsVirtual": false,
						"RelatePropertyCode": null,
						"SubSchema": null
					},
					{
						"ViewModelItemCode": null,
						"ID": "CompanyName",
						"Code": "Name",
						"Name": "名称",
						"Description": "名称",
						"DataType": 11,
						"IsPrimaryKey": false,
						"SortOrder": 2,
						"IsDetail": false,
						"IsVirtual": false,
						"RelatePropertyCode": null,
						"SubSchema": null
					}
				]
			}
		},
		{
			"ViewModelItemCode": null,
			"ID": "DepartmentCreateTime",
			"Code": "CreateTime",
			"Name": "创建时间",
			"Description": "创建时间",
			"DataType": 3,
			"IsPrimaryKey": false,
			"SortOrder": 4,
			"IsDetail": false,
			"IsVirtual": false,
			"RelatePropertyCode": null,
			"SubSchema": null
		}
	]
	}
	},
	"Length": 0,
	"Empty": false
	}
}